package com.sgcc.pda.mdrh.task.safe.entity;

import com.sgcc.pda.sdk.entity.BaseEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 描述：工作票服务器返回结果
 * 作者：jianiuqi 2020-09-17 15:34
 */
public class TicketVerify extends BaseEntity implements Serializable {

    private VerifyDetail DTS;

    public static class VerifyDetail implements Serializable {

        //工作票Id
        private String recordId;

        //防范措施
        private String measure;

        //工作票号
        private String wtNo;

        //工单号
        private String appNo;

        //工作票状态
        private String wtState;

        //工作票类型
        private String wtType;

        //单位名称
        private String wtOrgName;

        //计划开始时间
        private String wtStDate;

        //计划结束时间
        private String wtEnDate;

        //签发人列表
        private Object ticketSignInfo;

        public String getRecordId() {
            return recordId;
        }

        public void setRecordId(String recordId) {
            this.recordId = recordId;
        }

        public String getMeasure() {
            return measure;
        }

        public void setMeasure(String measure) {
            this.measure = measure;
        }

        public String getWtNo() {
            return wtNo;
        }

        public void setWtNo(String wtNo) {
            this.wtNo = wtNo;
        }

        public String getAppNo() {
            return appNo;
        }

        public void setAppNo(String appNo) {
            this.appNo = appNo;
        }

        public String getWtState() {
            return wtState;
        }

        public void setWtState(String wtState) {
            this.wtState = wtState;
        }

        public String getWtType() {
            return wtType;
        }

        public void setWtType(String wtType) {
            this.wtType = wtType;
        }

        public String getWtOrgName() {
            return wtOrgName;
        }

        public void setWtOrgName(String wtOrgName) {
            this.wtOrgName = wtOrgName;
        }

        public String getWtStDate() {
            return wtStDate;
        }

        public void setWtStDate(String wtStDate) {
            this.wtStDate = wtStDate;
        }

        public String getWtEnDate() {
            return wtEnDate;
        }

        public void setWtEnDate(String wtEnDate) {
            this.wtEnDate = wtEnDate;
        }

        public Object getTicketSignInfo() {
            return ticketSignInfo;
        }

        public void setTicketSignInfo(Object ticketSignInfo) {
            this.ticketSignInfo = ticketSignInfo;
        }
    }

    public VerifyDetail getDTS() {
        return DTS;
    }

    public void setDTS(VerifyDetail DTS) {
        this.DTS = DTS;
    }

    public boolean isSuccess() {
        return "1".equals(RT_F);
    }

}
